export default [
  {
    path: '/order/order',
    meta: { title: '订单列表' },
    children: [
      {
        path: '/',
        name: 'OrderList',
        component: () => import('@/views/order/order/orderList.vue'),
        hidden: true
      }, {
        path: 'detail',
        name: 'OrderDetail',
        component: () => import('@/views/order/order/orderDetail.vue'),
        meta: { title: '订单详情' },
        hidden: true
      }
    ]
  },
  {
    path: '/order/settle',
    name: 'SettleList',
    component: () => import('@/views/order/settle/settleList.vue'),
    meta: { title: '结算管理' }
  },
  {
    path: '/order/afterSaleOrder',
    meta: { title: '售后订单' },
    children: [
      {
        path: '/',
        name: 'AfterSaleOrderList',
        component: () => import('@/views/order/afterSale/orderList.vue'),
        hidden: true
      },
      {
        path: 'detail',
        name: 'AfterSaleOrderDetail',
        component: () => import('@/views/order/afterSale/orderDetail.vue'),
        meta: { title: '售后订单详情' },
        hidden: true
      }
    ]
  },
  {
    path: '/order/cardSettle',
    name: 'CardSettle',
    component: () => import('@/views/order/cardSettle/cardSettle.vue'),
    meta: { title: '饭卡结算' }
  },
  {
    path: '/order/consumeSettle',
    name: 'ConsumeSettle',
    component: () => import('@/views/order/consumeSettle/consumeSettle.vue'),
    meta: { title: '消费金结算' }
  }
]
